package com.ext.aic.holder;

import android.view.View;

import com.ext.aic.beans.MessageItem;

import io.github.eyinfo.messages.messages.TxtViewHolder;

public class TextMessageViewHolder extends TxtViewHolder<MessageItem> {
    public TextMessageViewHolder(View itemView, boolean isSender) {
        super(itemView, isSender);
    }

    @Override
    public void onBind(MessageItem message) {
        message.setMMsgStatus(message.isSend() ? MessageItem.MessageStatus.SEND_SUCCEED : MessageItem.MessageStatus.RECEIVE_SUCCEED);
        super.onBind(message);
    }
}
